import request from '@/utils/request'

// 查询出资详情列表
export function listBfCapitalDetail(query) {
  return request({
    url: '/bf/bfCapitalDetail/list',
    method: 'get',
    params: query
  })
}

// 查询出资详情详细
export function getBfCapitalDetail(id) {
  return request({
    url: '/bf/bfCapitalDetail/' + id,
    method: 'get'
  })
}

// 保存出资详情
export function saveBfCapitalDetail(data) {
  return request({
    url: '/bf/bfCapitalDetail/save',
    method: 'post',
    data: data
  })
}

// 删除出资详情
export function delBfCapitalDetail(id) {
  return request({
    url: '/bf/bfCapitalDetail/' + id,
    method: 'delete'
  })
}

// 导出出资详情
export function exportBfCapitalDetail(query) {
  return request({
    url: '/bf/bfCapitalDetail/export',
    method: 'get',
    params: query
  })
}
